//
//  UIColor.swift
//  Weibo
//
//  Created by 杨军民 on 16/7/22.
//  Copyright © 2016年 杨军民. All rights reserved.
//

import UIKit

extension UIColor {
    
    class func rendomUIColor() -> UIColor {
        
        let r = CGFloat(arc4random_uniform(256))/255.0
        let g = CGFloat(arc4random_uniform(256))/255.0
        let b = CGFloat(arc4random_uniform(256))/255.0
        
        return UIColor (red: r, green: g, blue: b, alpha: 1)
    }
}
